var mySwiper = new Swiper ('.swiper-container', {
    direction: 'horizontal',
    loop: true,
    // 如果需要分页器
    pagination: '.swiper-pagination',
    //触摸滑动
    touchRadio: 1,
    paginationType: 'bullets',
    autoplay : 3000,
    autoplayDisableOnInteraction : false
  })  